using Extensions;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.UI;

public class PveGuideUI:MonoBehaviour
{
    public RectTransform bgTrans;
    public RectTransform maskTrans;

    public void Resize()
    {
        bgTrans.SetWidth(Screen.width);
        bgTrans.SetHeight(Screen.height);
    }

    public void UpdateGuideArea(Vector3 center, float width, float height)
    {
        maskTrans.position = center;
        maskTrans.SetWidth(width);
        maskTrans.SetHeight(height);
    }
}